﻿<%@ Page Language="C#" MasterPageFile="~/admin/managemain.Master" AutoEventWireup="true" CodeBehind="usergroup_index.aspx.cs" Inherits="uswinweb.admin.usergroup_index" %>
<%@ Register TagPrefix="win" TagName="usergrouplist" Src="../datacontrol/usergrouplist.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="headcontent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="maincontent" runat="server">
<div class="cot">
	<div class="adnr">
		<p class="adnrt">
			<input name="keyword" id="keyword" class="soon" type="text" style="width:200px;" />
			<input name="" class="soso" type="button" value="搜索" onclick="search()" />
		</p>
		<ul class="adnr2 mar_top">
			<li><a href="usergroup_add.aspx" rel="iframe" title=" :: :: width:600,height:200" class="lightview">新 增</a></li>
		</ul>
		<div class="adnr3" >
            <div id="showdata">
			    <win:usergrouplist runat="server" ID="usergrouplist1" />
            </div>
		</div>
		<i class="tp"></i><i class="bt"></i>
	</div>
</div>
<input type="button" id="reclick" name="reclick" onclick="reclcik()" style="display: none"  />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="footcontent" runat="server">
<script type="text/javascript">
    function reclcik() {
        loading();
        AjaxHelper.Updater('usergrouplist.ascx', 'showdata', 'action=reclick');
    }
    function search() {
        var val = document.getElementById('keyword').value;
        loading();
        AjaxHelper.Updater('usergrouplist.ascx', 'showdata', 'action=search&parms=' + val);
    }
</script>
</asp:Content>
